import {sendData} from "./http";

//作者推荐
export const selectAuthors = (data) =>sendData(`/webserver/author/recommendAuthors`, data);

//作者搜索
export const getAuthorsByKeyword = (data) => sendData(`/webserver/author/getAuthorsByKeyword`, data);

//全部作者
export const getAllAuthors = (data)=>sendData(`/webserver/author/getAllAuthors`, data);

//根据用户名查作者
export const getAuthorByUsername = (data)=>sendData(`/webserver/author/getAuthorByUsername`, data);

export const selectAuthorById = (data)=>sendData(`/webserver/author/selectAuthorById`, data);
